package com.xy_pro.xymanager.auth.dto;

public class ModifyPasswordRequest {
    private String oldPassword;  // 原密码
    private String newPassword;  // 新密码
    private String userName;

    // 构造函数、getter/setter
    public ModifyPasswordRequest() {}

    public ModifyPasswordRequest(String oldPassword, String newPassword, String userName) {
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOldPassword() { return oldPassword; }
    public void setOldPassword(String oldPassword) { this.oldPassword = oldPassword; }

    public String getNewPassword() { return newPassword; }
    public void setNewPassword(String newPassword) { this.newPassword = newPassword; }
}
